package nuc.edu.tlias.service;

import nuc.edu.tlias.pojo.Emp;
import nuc.edu.tlias.pojo.EmpQueryParam;
import nuc.edu.tlias.pojo.LoginInfo;
import nuc.edu.tlias.pojo.PageResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpService {
    PageResult<Emp> page(EmpQueryParam empQueryParam);

    List<Emp> findall();

    void save(Emp emp);

    void delete(Integer[] ids);

    Emp findById(Integer id);

    void update(Emp emp);

    LoginInfo login(Emp emp);

}
